-
Notifications
You must be signed in to change notification settings - Fork 0
2025 - draft #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
2025 - draft #107
Conversation
sim is still broken tests are still broken also I probably broke some functionality somewhere
src/main/java/org/carlmontrobotics/lib199/DummySparkMaxAnswer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModuleSim.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModuleSim.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/SparkVelocityPIDController.java
Show resolved
Hide resolved
#107 (comment) Co-authored-by: CoolSpy3 <55305038+CoolSpy3@users.noreply.github.com>
#107 (comment) Co-authored-by: CoolSpy3 <55305038+CoolSpy3@users.noreply.github.com>
1. duplicatestrategy to fail 2. no more CachedSparkMax 2. motorcontrollerfactory now configures sparks!! 3. motorErrors checks for null faults 4. swap from smartMotion to MAXmotion in mockedsparkmaxpidcontroller.java 5. cleaner builder pid configs in sparkvelocitypidcontroller.java 6. change from deprecated calculate(double, double) to calculateWithVelocities() in swervemodule and don't persist configs
src/main/java/org/carlmontrobotics/lib199/path/DifferentialDriveInterface.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
…ade createSparkFlex(int) return createSparkFlex(id, sparkConfig(SparkMotorType.VORTEX)); and deleted old SparkConfig methods
This reverts commit 158c96e.
…ed VarType and fixed MotorErrorTest
CoolSpy3
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright! Just a few more notes on how motors are handled. After this, I think I'll do another dive through the whole PR, look for any final bugs, apply some formatting fixes, and (barring any other major snags) this should be good to go! Home stretch now!
That being said, simulation is still probably in need of a pretty deep rewrite. I don't think that needs to be part of this PR though, I'd rather get polished 2025 code merged to master, and then sim can be tackled separately.
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
|
@CoolSpy3 Alr I am pretty sure I addresed pretty much all your comments if you could if you check everything that would be awesome :D |
CoolSpy3
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! I think all of the major stuff has been addressed. Just two more minor comments. I'll start re-reading everything for anything else that should be fixed before this merges.
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
…d organized MotorContollerFactory imports
@brettle pls review
also @CoolSpy3 thanks!!